﻿<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<title>摄像头列表</title>
		<link rel="stylesheet" href="css_js/css/bootstrap.min.css" />
		<link rel="stylesheet" href="dist/css/webcamList.css" />
        <link rel="stylesheet" href="dist/css/common.css" />
        <link rel="stylesheet" href="css_js/layui/css/layui.css" />
	</head>
	<body ng-app="App" ng-controller="webcamListCtrl">
		<div class="bg_color">
			<nav class="navbar text-center">
				<div class="nav_body">
					<img ng-click="go_back()" class="pull-left btn_top_left" src="dist/images/point/left.png">
					<span class="tit_title">摄像头列表</span>
					<img id="add_data" ng-click="show_add()" class="btn_top_right" src="dist/images/point/plus.png">
				</div>
            </nav>
            <div class="pro-box" ng-repeat="obj in constList">
                <div class="pro-content">
                    <div class="pro-name-box">
                        <p class="pro-name">设备名称:</p>
                        <p class="pro-name-content">{{obj.devicename}}</p>
                    </div>
                    <div class="pro-name-box">
                        <p class="pro-name">序列号:</p>
                        <p class="pro-name-content">{{obj.deviceid}}</p>
                    </div>
                </div>
                <div class="pro-btns">
                    <span ng-click="show_detail(obj)"><i class="iconfont icon-details"></i></span>
                    <span ng-click="show_edit(obj)"><i class="iconfont icon-edit"></i></span>
                    <span ng-click="show_del(obj.id,obj.type)"><i class="iconfont icon-delete"></i></span>
                </div>
            </div>
			<!-- <section class="inner">
				<div class="tab_list" >
			        <ul class="info_mul">
			        	<li class="" ng-repeat="obj in constList">
                            <div class="info_pro_box">
                                <a href="" class="clearfix">
                                    <span class="pull-left span_list_one">设备名称：{{obj.devicename}}</span>
                                    <div class="pull-right">
                                        <button id="detail_data" class="dis_none pass pass_green" ng-click="show_detail(obj)">详情</button>
                                        <button id="edit_data" class="dis_none pass pass_green" ng-click="show_edit(obj)">修改</button>
                                        <button id="del_data" class="dis_none pass pass_green" ng-click="show_del(obj)">删除</button>
                                    </div>
                                </a>
                            </div>
							<div class="sub_div">
								<ul class="ul_list">
									<li>
										<ul class="clearfix sub_ul">
											<li class="pull-left">
												<span class="device_font">序列号：</span>
											</li>
                                            <li class="pro_fix">
                                                <span class="device_des">{{obj.deviceid}}</span>
                                            </li>
										</ul>
									</li>
								</ul>
							</div>
						</li>
			        </ul>
			    </div>
			</section> -->
            <!-- three start-->
            <!-- <div class="modal fade" id="modal_info" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                <div class="modal-dialog modal_dialog">
                    <div class="modal-content">
                        <div class="modal-header">
                            <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                        </div>
                        <div class="modal-body">
                          请先在该项目下添加设备
                        </div>
                        <div class="modal-footer modal_footer">
                            <button type="button" class="submit_btn pass_green bold_label modal_btn" data-dismiss="modal">确定</button>
                        </div>
                    </div>
                </div>
            </div> -->
            <!-- three end-->
            <!-- del start-->
            <!-- <div class="modal fade" id="del_info" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                <div class="modal-dialog modal_dialog">
                    <div class="modal-content">
                        <div class="modal-header">
                            <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                        </div>
                        <div class="modal-body">
                            <h4>确定删除该数据吗</h4>
                        </div>
                        <div class="modal-footer modal_footer">
                            <button class="submit_btn pass_green bold_label modal_btn" data-dismiss="modal">取消</button>
                            <button class="submit_btn pass_green bold_label modal_btn" ng-click="sure_del()">确定</button>
                        </div>
                    </div>
                </div>
            </div> -->
            <!-- del end-->
		</div>
		<script src="css_js/js/jquery-2.1.1.min.js"></script>
        <script src="css_js/js/angular.min.js"></script>
        <script src="css_js/js/angular-cookies.min.js"></script>
		<script src="css_js/js/moment.min.js"></script>
		<script src="css_js/js/bootstrap.min.js"></script>
        <script src="cordova.js"></script>
        <script src="dist/controller/config.js"></script>
        <script src="dist/controller/webcamListCtrl.js"></script>
        <script src="css_js/layui/layui.all.js"></script>
	</body>
</html>